package com.water_work_form.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("进场药剂基础数据")
@TableName("basic_formula as a left join basic_medical as b on a.name = b.name left join basic_restriction as c on a.name = c.name")
public class DrugTestDTO {

    @TableField(value = "a.id")
    private Long id;

    @ApiModelProperty("项目类型")
    @TableField(value = "a.name")
    private String name;

    @ApiModelProperty("公式内容")
    @TableField(value = "a.formula_content")
    private String formulaContent;

    @ApiModelProperty("公式描述")
    @TableField(value = "a.formula_description")
    private String formulaDescription;

    @ApiModelProperty("标准名称")
    @TableField(value = "b.standard_name")
    private String standardName;

    @ApiModelProperty("溶液浓度")
    @TableField(value = "b.concentration")
    private String concentration;

    @ApiModelProperty("证书编号")
    @TableField(value = "b.certificate_no")
    private String certificateNo;

    @ApiModelProperty("证书有效期")
    @TableField(value = "b.effective_date")
    private String effectiveDate;

    @ApiModelProperty("标准方法依据")
    @TableField(value = "c.standard_basis")
    private String standardBasis;

}
